package example

import org.apache.spark.rdd.RDD
import org.apache.spark.{SparkConf, SparkContext}

object WordCount {
    def main(args: Array[String]): Unit = {
        val sparkConf = new SparkConf()
                .setMaster("local")
                .setAppName("WordCount");
        val sc = new SparkContext(sparkConf)
        val lines: RDD[String] = sc.textFile("/Users/fengliulin/IdeaProjects/hadoop-learn/data-test")


        val value: RDD[Int] = sc.makeRDD(List(1, 2, 34))




        sc.stop();


    }
}